"""


"""
from django.http import HttpResponseForbidden
from goods.models import SKU


def get_crumbs(sku_id):

    try:
        nav_category = SKU.objects.get(id=sku_id).category

    except:
        HttpResponseForbidden("sku_id参数错误")

    return nav_category